package com.qianguo.shop.fragment;

import android.widget.TextView;

import com.eva.androidlibrary.widget.CircleImageView;
import com.qianguo.shop.R;
import com.qianguo.shop.base.BaseFragment;

import org.androidannotations.annotations.EFragment;
import org.androidannotations.annotations.ViewById;

import java.util.List;

/**
 * Created by eva on 15/10/18.
 */
@EFragment(R.layout.fragment_order_details)
public class OrderDetailsFragment extends BaseFragment {

    @ViewById(R.id.avatar)
    CircleImageView mImgAvatar;         // 头像
    @ViewById(R.id.username)
    TextView mTxvUsername;              // 名称
    @ViewById(R.id.addr_value)
    TextView mTxvAddr;                  // 配送地址
    @ViewById(R.id.time_handle_value)
    TextView mTxvTimeHandle;            // 配送时间
    @ViewById(R.id.time_order_value)
    TextView mTxvTimeOrder;             // 下单时间
    @ViewById(R.id.expect_price_value)
    TextView mTxvExpiectPrice;          // 预计价格
    @ViewById(R.id.actual_price_value)
    TextView mTxvActualPrice;           // 实际价格
    @ViewById(R.id.remarks_value)
    TextView mTxvRemarks;               // 备注

    private static class FruitItem {
        String name;
        String count;
        String price;
    }

    private static class OrderInfo {
        String avatarUrl;
        String username;
        String phoneNumber;
        String imId;
        String addr;
        String handleTime;
        String orderTime;
        List<FruitItem> fruitList;
        String expectPrice;
        String comment;
        String mailPrice;
        String actualPrice;
    }

    @Override
    protected void initializeUI() {

    }
}
